package com.jumi.microservice.stock.api.dto;

import com.jumi.microservice.common.base.AbstractObject;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @Description 商城库存申请 - 供应链物料
 * @ClassName CommodityMaterialApplyDTO
 * @Author Abel Yang
 * @Date 2020/8/27/027 9:07
 **/
public class CommodityMaterialApplyDTO extends AbstractObject implements Serializable {

    private static final long serialVersionUID = -5417093626729107778L;

    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("库存分配表(sku)ID")
    private Long stockAllocateId;

    @ApiModelProperty(value = "供应链物料id")
    private Long materialId;
    @ApiModelProperty(value = "供应链物料code")
    private String materialCode;
    @ApiModelProperty(value = "物料个数")
    private Integer materialNum;

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public Integer getMaterialNum() {
        return materialNum;
    }

    public void setMaterialNum(Integer materialNum) {
        this.materialNum = materialNum;
    }

    @Override
    public String toString() {
        return "CommodityMaterialApplyDTO{" +
                "materialId=" + materialId +
                ", materialCode='" + materialCode + '\'' +
                ", materialNum=" + materialNum +
                '}';
    }
}
